pow.webserver
Class SSLUtilities._FakeHostnameVerifier
java.lang.Object
pow.webserver.SSLUtilities._FakeHostnameVerifier
- All Implemented Interfaces:
- com.sun.net.ssl.HostnameVerifier
- Enclosing class:
- SSLUtilities
Deprecated. see SSLUtilities.FakeHostnameVerifier.
public static class SSLUtilities._FakeHostnameVerifier
- extends java.lang.Object
- implements com.sun.net.ssl.HostnameVerifier
This class implements a fake hostname verificator, trusting any host
name. This class uses the old deprecated API from the com.sun.
ssl package.
- Author:
- Francis Labrie
|
Method Summary |
boolean |
verify(java.lang.String hostname,
java.lang.String session)
Deprecated. Always return true, indicating that the host name is an
acceptable match with the server's authentication scheme. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSLUtilities._FakeHostnameVerifier
public SSLUtilities._FakeHostnameVerifier()
- Deprecated.
verify
public boolean verify(java.lang.String hostname,
java.lang.String session)
- Deprecated.
- Always return true, indicating that the host name is an
acceptable match with the server's authentication scheme.
- Specified by:
verify in interface com.sun.net.ssl.HostnameVerifier
- Parameters:
hostname - the host name.session - the SSL session used on the connection to
host.
- Returns:
- the true boolean value
indicating the host name is trusted.